package service.admin.impl;

import dao.admin.BooksDao;
import dao.admin.impl.BooksDaoImpl;
import entity.Books;
import service.admin.BooksService;

/**
 * BooksServiceImpl
 *
 * @author 谭文斌
 * @since 2023/9/4
 */
public class BooksServiceImpl implements BooksService {
    BooksDao bookDao=new BooksDaoImpl();

    @Override
    public int upd(Books books) {
        return bookDao.upd(books);
    }

    @Override
    public int add(Books books) {
        return bookDao.add(books);
    }

    @Override
    public int del(int id) {
        return bookDao.del(id);
    }
}
